package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Builder;
import lombok.Data;

/**
 * 通讯录表
 * @TableName chat_friend
 */
@TableName(value ="chat_friend")
@Data
@Builder
public class ChatFriend implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Integer userId;


    /**
     * 好友id(通讯录)
     */
    private Integer friendId;

    /**
     * 加好友时间
     */
    private LocalDateTime createTime;

    /**
     * 给好友备注
     */
    private String friendNickname;

    private Integer status;

    private String sayHello;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}